import request from '@/utils/request'

export function settingList(data) {
  return request({
    url: '/messageSetting/list',
    method: 'get'
  })
}

export function getByMsId(data) {
  return request({
    url: '/mailInfo/getByMsId',
    method: 'get',
    params: data
  })
}

export function save(data) {
  return request({
    url: '/mailInfo/save',
    method: 'post',
    data
  })
}

export function deleteData(data) {
  return request({
    url: '/mailInfo/deleteData',
    method: 'post',
    params: data
  })
}

export function activate(data) {
  return request({
    url: '/mailInfo/activate',
    method: 'post',
    params: data
  })
}

